/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ggsoft.timetracker.dao;

import com.ggsoft.timetracker.domain.Employee;
import org.appfuse.dao.GenericDao;
import org.appfuse.model.User;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 * @author giovanella
 * @date May 17, 2014
 */
public interface EmployeeDao extends GenericDao<Employee, Long> {
    @Transactional
    Employee findEmployeeByUser(User user);    
    @Transactional
    void store(Employee employee);
}
